'use strict';

const getJSON = require('./ajax/get_json');
import store from '@/store'

module.exports = () => {
  if(store.getters.isReviewing) return getJSON('./algorithm/review/category.json');
  return getJSON('./algorithm/category.json')
};
